#help菜单

function main:help if @a[score_help_min=1]

#经验包
function main:use经验包 if @a[score_use.经验包_min=1]

#右击村民
execute @r[score_村民_min=1] ~ ~ ~ function main:use村民


#kick
execute @r[score_kick_min=-2147483648] ~ ~ ~ function kick:main
#execute @r[score_kick_min=-2,score_kick=-1] ~ ~ ~ function main:kick/change
#execute @r[score_kick=-3] ~ ~ ~ function main:ban/main
#登录游戏
execute @r[score_登录_min=1] ~ ~ ~ function joingames:oldplayers



execute @r[score_击杀_min=1] ~ ~ ~ function main:击杀玩家

#子弹时长
kill @e[tag=gunsdamage,score_箱子刷新_min=10]
scoreboard players add @e[tag=gunsdamage] 箱子刷新 1


#
execute @e[score_特效tick_min=1] ~ ~ ~ function main:特效



execute @a[team=大厅,score_编号=9,tag=!UseTitle] ~ ~ ~ title @s actionbar ["",{"text":"累计在线:","color":"gray"},{"score":{"name":"@s","objective":"累计在线m"},"color":"gray"},{"text":"mins","color":"gray"},{"text":"  UUID:","color":"light_purple"},{"text":"000","color":"dark_purple"},{"score":{"name":"@s","objective":"编号"},"color":"dark_purple"},{"text":"  硬币:","color":"gold"},{"score":{"name":"@s","objective":"money"},"color":"yellow"},{"text":"枚","color":"yellow"},{"text":"  宝石:","color":"aqua"},{"score":{"name":"@s","objective":"point"},"color":"dark_aqua"},{"text":"颗","color":"dark_aqua"},{"text":"  钱包:","color":"red"},{"score":{"name":"@s","objective":"钱包"},"color":"dark_red"},{"text":"¥","color":"dark_red"}]
execute @a[team=大厅,score_编号_min=10,score_编号=99,tag=!UseTitle] ~ ~ ~ title @s actionbar ["",{"text":"累计在线:","color":"gray"},{"score":{"name":"@s","objective":"累计在线m"},"color":"gray"},{"text":"mins","color":"gray"},{"text":"  UUID:","color":"light_purple"},{"text":"00","color":"dark_purple"},{"score":{"name":"@s","objective":"编号"},"color":"dark_purple"},{"text":"  硬币:","color":"gold"},{"score":{"name":"@s","objective":"money"},"color":"yellow"},{"text":"枚","color":"yellow"},{"text":"  宝石:","color":"aqua"},{"score":{"name":"@s","objective":"point"},"color":"dark_aqua"},{"text":"颗","color":"dark_aqua"},{"text":"  钱包:","color":"red"},{"score":{"name":"@s","objective":"钱包"},"color":"dark_red"},{"text":"¥","color":"dark_red"}]
execute @a[team=大厅,score_编号_min=100,score_编号=999,tag=!UseTitle] ~ ~ ~ title @s actionbar ["",{"text":"累计在线:","color":"gray"},{"score":{"name":"@s","objective":"累计在线m"},"color":"gray"},{"text":"mins","color":"gray"},{"text":"  UUID:","color":"light_purple"},{"text":"0","color":"dark_purple"},{"score":{"name":"@s","objective":"编号"},"color":"dark_purple"},{"text":"  硬币:","color":"gold"},{"score":{"name":"@s","objective":"money"},"color":"yellow"},{"text":"枚","color":"yellow"},{"text":"  宝石:","color":"aqua"},{"score":{"name":"@s","objective":"point"},"color":"dark_aqua"},{"text":"颗","color":"dark_aqua"},{"text":"  钱包:","color":"red"},{"score":{"name":"@s","objective":"钱包"},"color":"dark_red"},{"text":"¥","color":"dark_red"}]
execute @a[team=大厅,score_编号_min=1000,score_编号=9999,tag=!UseTitle] ~ ~ ~ title @s actionbar ["",{"text":"累计在线:","color":"gray"},{"score":{"name":"@s","objective":"累计在线m"},"color":"gray"},{"text":"mins","color":"gray"},{"text":"  UUID:","color":"light_purple"},{"text":"","color":"dark_purple"},{"score":{"name":"@s","objective":"编号"},"color":"dark_purple"},{"text":"  硬币:","color":"gold"},{"score":{"name":"@s","objective":"money"},"color":"yellow"},{"text":"枚","color":"yellow"},{"text":"  宝石:","color":"aqua"},{"score":{"name":"@s","objective":"point"},"color":"dark_aqua"},{"text":"颗","color":"dark_aqua"},{"text":"  钱包:","color":"red"},{"score":{"name":"@s","objective":"钱包"},"color":"dark_red"},{"text":"¥","color":"dark_red"}]
execute @a[team=大厅,score_编号_min=10000,tag=!UseTitle] ~ ~ ~ title @s actionbar ["",{"text":"累计在线:","color":"gray"},{"score":{"name":"@s","objective":"累计在线m"},"color":"gray"},{"text":"mins","color":"gray"},{"text":"  UUID:","color":"light_purple"},{"text":"数据溢出","color":"dark_purple"},{"score":{"name":"@s","objective":""},"color":"dark_purple"},{"text":"  硬币:","color":"gold"},{"score":{"name":"@s","objective":"money"},"color":"yellow"},{"text":"枚","color":"yellow"},{"text":"  宝石:","color":"aqua"},{"score":{"name":"@s","objective":"point"},"color":"dark_aqua"},{"text":"颗","color":"dark_aqua"},{"text":"  钱包:","color":"red"},{"score":{"name":"@s","objective":"钱包"},"color":"dark_red"},{"text":"¥","color":"dark_red"}]



execute @a[team=!大厅,score_gun.子弹剩余_min=1,tag=!gun.换弹ing] ~ ~ ~ title @s actionbar ["",{"text":"[Guns] ","color":"gold"},{"text":"剩余子弹 ","color":"gray"},{"score":{"name":"@s","objective":"gun.子弹剩余"},"color":"red"},"/",{"score":{"name":"@s","objective":"gun.子弹容量"},"color":"green"},{"text":"   子弹伤害 ","color":"gray"},{"score":{"name":"@s","objective":"gun.子弹伤害"},"color":"gold"}]
execute @a[team=!大厅,tag=gun.换弹ing] ~ ~ ~ title @s actionbar ["",{"text":"[Guns] ","color":"gold"},{"text":"换弹中...","color":"gray"}]
execute @r[tag=拉扯鱼] ~ ~ ~ function fish:0.2s系统

title @a[tag=UNSCATHED_EXIST] actionbar ["",{"text":"[Damage]","bold":true,"color":"red"},{"text":"","color":"green"},{"text":" 请丢出需要恢复耐久的物品","bold":true,"color":"gold"}]

execute @a[score_tick_min=1,score_tick=13,tag=!VIP] ~ ~ ~ title @s actionbar ["",{"text":"撤离时间 ","bold":true,"color":"black"},{"score":{"name":"@s","objective":"tick"},"bold":true,"color":"green"},{"text":" s","bold":true,"color":"green"},{"text":" / ","bold":true,"color":"gray"},{"text":"10 s","bold":true,"color":"red"}]
execute @a[score_tick_min=1,score_tick=13,tag=VIP] ~ ~ ~ title @s actionbar ["",{"text":"撤离时间 ","bold":true,"color":"black"},{"score":{"name":"@s","objective":"tick"},"bold":true,"color":"green"},{"text":" s","bold":true,"color":"green"},{"text":" / ","bold":true,"color":"gray"},{"text":"6 s","bold":true,"color":"red"}]
execute @e[tag=开启撤离] ~ ~ ~ title @a[x=351,y=143,z=830,r=4] actionbar [{"text":"剩余撤离时间 ","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"objective":"tick","name":"@e[name=随机]"},"color":"green","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" s","color":"green","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" /","color":"gray","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" 30 s","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute @e[name=随机,score_tick=-1] ~ ~ ~ title @a[x=351,y=143,z=830,r=4] actionbar [{"text":"请去楼顶拉闸撤离 ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]

kill @e[type=xp_orb]

##大厅凋零名字颜色转换
function 大厅生成文件:颜色转换/颜色变换

##扫描玩家背包
execute @a[tag=大厅] ~ ~ ~ function main:箱子菜单/触发器/main

##boss总命令
#检测是否在挑战boss
execute @e[name=随机,tag=艾伦有人,score_bossTime_min=!1] ~ ~ ~ function boss:安伦/结束 unless @a[tag=BossAiLun]
function boss:main
